package top.oyyf.call_back_demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 消息类型回调
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@SuperBuilder
@XmlRootElement(name = "xml")
@NoArgsConstructor
@AllArgsConstructor
public class TextMsgEventData extends BaseEventData {

    @XmlElement(name = "Content")
    private String content;
}
